#!/bin/bash
while true; do
  # 杀死旧进程
  pkill -f "sse_service"
  # 启动新进程
  nohup /opt/jiabangbang/sse-go/sse_service > /opt/jiabangbang/sse-go/app.log 2>&1 &
  # 等待24小时后重启
  sleep 86400
done
